package cn.lcfms.app.admin.bean;

import cn.lcfms.bin.annotation.Column;
import cn.lcfms.bin.annotation.Table;

@Table("collect")
public class CollectBean {
	@Column(Type="int",PrimaryKey=true)
	private int id;
	
	@Column(Type="varchar",Length=255)
	private String title;
	
	@Column(Type="tinyint",Comment="采集类型")
	private int type;	
	
	@Column(Type="varchar",Length=255)
	private String url;
	
	@Column(Type="varchar",Length=255,Comment="超链接正则匹配")
	private String preg;
	
	@Column(Type="int")
	private int begin;
	
	@Column(Type="int")
	private int end;
	
	@Column(Type="varchar",Length=25)
	private String charset;
	
	@Column(Type="varchar",Length=1000)
	private String cookie;
	
	@Column(Type="varchar",Length=30)
	private String impl;
	
	@Column(Type="varchar",Length=1000)
	private String property;
	
	public String getProperty() {
		return property;
	}

	public void setProperty(String property) {
		this.property = property;
	}

	public void setImpl(String impl) {
		this.impl = impl;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public String getImpl() {
		return impl;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPreg() {
		return preg;
	}

	public void setPreg(String preg) {
		this.preg = preg;
	}

	public int getBegin() {
		return begin;
	}

	public void setBegin(int begin) {
		this.begin = begin;
	}

	public int getEnd() {
		return end;
	}

	public void setEnd(int end) {
		this.end = end;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getCookie() {
		return cookie;
	}

	public void setCookie(String cookie) {
		this.cookie = cookie;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	
}
